package org.example.api.pc;

import org.example.R.R;
import org.example.entity.dto.EditBasicInformationDto;
import org.example.service.BaseInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 村庄基本信息
 */

@RestController
@RequestMapping("/api/pc/baseInfo")
public class PCBaseInfoController {

    @Autowired
    private BaseInfoService baseInfoService;

    @PostMapping("/detail")
    public R detail() {
        return baseInfoService.pcDetail();
    }

    @PostMapping("/showDetail")
    public R showDetail() {
        return baseInfoService.showDetail();
    }



}
